package com.atguigu.daijia.customer.service;

import com.atguigu.daijia.model.form.customer.ExpectOrderForm;
import com.atguigu.daijia.model.form.customer.SubmitOrderForm;
import com.atguigu.daijia.model.vo.customer.ExpectOrderVo;

public interface OrderService {

    /**
     * 预估订单数据
     */
    ExpectOrderVo expectOrder(ExpectOrderForm expectOrderForm);

    /**
     * 乘客下单
     */
    Long submitOrder(SubmitOrderForm submitOrderForm);

    /**
     * 更据订单id查询订单状态
     */
    Integer getOrderStatus(Long orderId);
}
